AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateProfilingGroupResult.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/model/ProfilingGroupDescription.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace CodeGuruProfiler {
23namespace Model {
31 public:
32 AWS_CODEGURUPROFILER_API UpdateProfilingGroupResult() = default;
35
37
43 inline const ProfilingGroupDescription& GetProfilingGroup() const { return m_profilingGroup; }
44 template <typename ProfilingGroupT = ProfilingGroupDescription>
45 void SetProfilingGroup(ProfilingGroupT&& value) {
46 m_profilingGroupHasBeenSet = true;
47 m_profilingGroup = std::forward<ProfilingGroupT>(value);
48 }
49 template <typename ProfilingGroupT = ProfilingGroupDescription>
51 SetProfilingGroup(std::forward<ProfilingGroupT>(value));
52 return *this;
53 }
55
57
58 inline const Aws::String& GetRequestId() const { return m_requestId; }
59 template <typename RequestIdT = Aws::String>
60 void SetRequestId(RequestIdT&& value) {
61 m_requestIdHasBeenSet = true;
62 m_requestId = std::forward<RequestIdT>(value);
63 }
64 template <typename RequestIdT = Aws::String>
66 SetRequestId(std::forward<RequestIdT>(value));
67 return *this;
68 }
70 private:
71 ProfilingGroupDescription m_profilingGroup;
72
73 Aws::String m_requestId;
74 bool m_profilingGroupHasBeenSet = false;
75 bool m_requestIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace CodeGuruProfiler
80} // namespace Aws
AWS_CODEGURUPROFILER_API UpdateProfilingGroupResult()=default
UpdateProfilingGroupResult & WithProfilingGroup(ProfilingGroupT &&value)
AWS_CODEGURUPROFILER_API UpdateProfilingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODEGURUPROFILER_API UpdateProfilingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateProfilingGroupResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue