AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetProfileToken(const Aws::String& value) { m_profileTokenHasBeenSet = true; m_profileToken = value; }
54 inline void SetProfileToken(Aws::String&& value) { m_profileTokenHasBeenSet = true; m_profileToken = std::move(value); }
55 inline void SetProfileToken(const char* value) { m_profileTokenHasBeenSet = true; m_profileToken.assign(value); }
56 inline PostAgentProfileRequest& WithProfileToken(const Aws::String& value) { SetProfileToken(value); return *this;}
57 inline PostAgentProfileRequest& WithProfileToken(Aws::String&& value) { SetProfileToken(std::move(value)); return *this;}
58 inline PostAgentProfileRequest& WithProfileToken(const char* value) { SetProfileToken(value); return *this;}
60
62
66 inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
67 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
68 inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
69 inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
70 inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
72 inline PostAgentProfileRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;}
73 inline PostAgentProfileRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
75 private:
76
77
78 Aws::String m_profileToken;
79 bool m_profileTokenHasBeenSet = false;
80
81 Aws::String m_profilingGroupName;
82 bool m_profilingGroupNameHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace CodeGuruProfiler
87} // namespace Aws
void SetProfilingGroupName(Aws::String &&value)
AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetProfileToken(Aws::String &&value)
PostAgentProfileRequest & WithProfileToken(const Aws::String &value)
PostAgentProfileRequest & WithProfilingGroupName(Aws::String &&value)
PostAgentProfileRequest & WithProfileToken(const char *value)
void SetProfileToken(const Aws::String &value)
void SetProfileToken(const char *value)
PostAgentProfileRequest & WithProfilingGroupName(const Aws::String &value)
bool ProfileTokenHasBeenSet() const
void SetProfilingGroupName(const char *value)
AWS_CODEGURUPROFILER_API PostAgentProfileRequest()
bool ProfilingGroupNameHasBeenSet() const
const Aws::String & GetProfilingGroupName() const
void SetProfilingGroupName(const Aws::String &value)
const Aws::String & GetProfileToken() const
PostAgentProfileRequest & WithProfilingGroupName(const char *value)
PostAgentProfileRequest & WithProfileToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String