AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListProfilingGroupsResult.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codeguruprofiler/model/ProfilingGroupDescription.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CodeGuruProfiler
26{
27namespace Model
28{
36 {
37 public:
38 AWS_CODEGURUPROFILER_API ListProfilingGroupsResult() = default;
41
42
44
51 inline const Aws::String& GetNextToken() const { return m_nextToken; }
52 template<typename NextTokenT = Aws::String>
53 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
54 template<typename NextTokenT = Aws::String>
55 ListProfilingGroupsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
57
59
66 inline const Aws::Vector<Aws::String>& GetProfilingGroupNames() const { return m_profilingGroupNames; }
67 template<typename ProfilingGroupNamesT = Aws::Vector<Aws::String>>
68 void SetProfilingGroupNames(ProfilingGroupNamesT&& value) { m_profilingGroupNamesHasBeenSet = true; m_profilingGroupNames = std::forward<ProfilingGroupNamesT>(value); }
69 template<typename ProfilingGroupNamesT = Aws::Vector<Aws::String>>
70 ListProfilingGroupsResult& WithProfilingGroupNames(ProfilingGroupNamesT&& value) { SetProfilingGroupNames(std::forward<ProfilingGroupNamesT>(value)); return *this;}
71 template<typename ProfilingGroupNamesT = Aws::String>
72 ListProfilingGroupsResult& AddProfilingGroupNames(ProfilingGroupNamesT&& value) { m_profilingGroupNamesHasBeenSet = true; m_profilingGroupNames.emplace_back(std::forward<ProfilingGroupNamesT>(value)); return *this; }
74
76
85 inline const Aws::Vector<ProfilingGroupDescription>& GetProfilingGroups() const { return m_profilingGroups; }
86 template<typename ProfilingGroupsT = Aws::Vector<ProfilingGroupDescription>>
87 void SetProfilingGroups(ProfilingGroupsT&& value) { m_profilingGroupsHasBeenSet = true; m_profilingGroups = std::forward<ProfilingGroupsT>(value); }
88 template<typename ProfilingGroupsT = Aws::Vector<ProfilingGroupDescription>>
89 ListProfilingGroupsResult& WithProfilingGroups(ProfilingGroupsT&& value) { SetProfilingGroups(std::forward<ProfilingGroupsT>(value)); return *this;}
90 template<typename ProfilingGroupsT = ProfilingGroupDescription>
91 ListProfilingGroupsResult& AddProfilingGroups(ProfilingGroupsT&& value) { m_profilingGroupsHasBeenSet = true; m_profilingGroups.emplace_back(std::forward<ProfilingGroupsT>(value)); return *this; }
93
95
96 inline const Aws::String& GetRequestId() const { return m_requestId; }
97 template<typename RequestIdT = Aws::String>
98 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
99 template<typename RequestIdT = Aws::String>
100 ListProfilingGroupsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
102 private:
103
104 Aws::String m_nextToken;
105 bool m_nextTokenHasBeenSet = false;
106
107 Aws::Vector<Aws::String> m_profilingGroupNames;
108 bool m_profilingGroupNamesHasBeenSet = false;
109
111 bool m_profilingGroupsHasBeenSet = false;
112
113 Aws::String m_requestId;
114 bool m_requestIdHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace CodeGuruProfiler
119} // namespace Aws
ListProfilingGroupsResult & AddProfilingGroupNames(ProfilingGroupNamesT &&value)
AWS_CODEGURUPROFILER_API ListProfilingGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListProfilingGroupsResult & WithProfilingGroups(ProfilingGroupsT &&value)
AWS_CODEGURUPROFILER_API ListProfilingGroupsResult()=default
ListProfilingGroupsResult & AddProfilingGroups(ProfilingGroupsT &&value)
ListProfilingGroupsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< ProfilingGroupDescription > & GetProfilingGroups() const
ListProfilingGroupsResult & WithProfilingGroupNames(ProfilingGroupNamesT &&value)
AWS_CODEGURUPROFILER_API ListProfilingGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListProfilingGroupsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< Aws::String > & GetProfilingGroupNames() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue