AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeProfilingGroupResult.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#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeGuruProfiler
25{
26namespace Model
27{
35 {
36 public:
37 AWS_CODEGURUPROFILER_API DescribeProfilingGroupResult() = default;
40
41
43
49 inline const ProfilingGroupDescription& GetProfilingGroup() const { return m_profilingGroup; }
50 template<typename ProfilingGroupT = ProfilingGroupDescription>
51 void SetProfilingGroup(ProfilingGroupT&& value) { m_profilingGroupHasBeenSet = true; m_profilingGroup = std::forward<ProfilingGroupT>(value); }
52 template<typename ProfilingGroupT = ProfilingGroupDescription>
53 DescribeProfilingGroupResult& WithProfilingGroup(ProfilingGroupT&& value) { SetProfilingGroup(std::forward<ProfilingGroupT>(value)); return *this;}
55
57
58 inline const Aws::String& GetRequestId() const { return m_requestId; }
59 template<typename RequestIdT = Aws::String>
60 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
61 template<typename RequestIdT = Aws::String>
62 DescribeProfilingGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
64 private:
65
66 ProfilingGroupDescription m_profilingGroup;
67 bool m_profilingGroupHasBeenSet = false;
68
69 Aws::String m_requestId;
70 bool m_requestIdHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CodeGuruProfiler
75} // namespace Aws
DescribeProfilingGroupResult & WithProfilingGroup(ProfilingGroupT &&value)
AWS_CODEGURUPROFILER_API DescribeProfilingGroupResult()=default
AWS_CODEGURUPROFILER_API DescribeProfilingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODEGURUPROFILER_API DescribeProfilingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeProfilingGroupResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue