AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
51 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
52 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
53 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
54 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
55 inline ListProfilingGroupsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
56 inline ListProfilingGroupsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
57 inline ListProfilingGroupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
59
61
68 inline const Aws::Vector<Aws::String>& GetProfilingGroupNames() const{ return m_profilingGroupNames; }
69 inline void SetProfilingGroupNames(const Aws::Vector<Aws::String>& value) { m_profilingGroupNames = value; }
70 inline void SetProfilingGroupNames(Aws::Vector<Aws::String>&& value) { m_profilingGroupNames = std::move(value); }
73 inline ListProfilingGroupsResult& AddProfilingGroupNames(const Aws::String& value) { m_profilingGroupNames.push_back(value); return *this; }
74 inline ListProfilingGroupsResult& AddProfilingGroupNames(Aws::String&& value) { m_profilingGroupNames.push_back(std::move(value)); return *this; }
75 inline ListProfilingGroupsResult& AddProfilingGroupNames(const char* value) { m_profilingGroupNames.push_back(value); return *this; }
77
79
88 inline const Aws::Vector<ProfilingGroupDescription>& GetProfilingGroups() const{ return m_profilingGroups; }
89 inline void SetProfilingGroups(const Aws::Vector<ProfilingGroupDescription>& value) { m_profilingGroups = value; }
90 inline void SetProfilingGroups(Aws::Vector<ProfilingGroupDescription>&& value) { m_profilingGroups = std::move(value); }
93 inline ListProfilingGroupsResult& AddProfilingGroups(const ProfilingGroupDescription& value) { m_profilingGroups.push_back(value); return *this; }
94 inline ListProfilingGroupsResult& AddProfilingGroups(ProfilingGroupDescription&& value) { m_profilingGroups.push_back(std::move(value)); return *this; }
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline ListProfilingGroupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline ListProfilingGroupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline ListProfilingGroupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
109 Aws::String m_nextToken;
110
111 Aws::Vector<Aws::String> m_profilingGroupNames;
112
114
115 Aws::String m_requestId;
116 };
117
118} // namespace Model
119} // namespace CodeGuruProfiler
120} // namespace Aws
ListProfilingGroupsResult & WithProfilingGroups(Aws::Vector< ProfilingGroupDescription > &&value)
ListProfilingGroupsResult & AddProfilingGroupNames(Aws::String &&value)
AWS_CODEGURUPROFILER_API ListProfilingGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListProfilingGroupsResult & WithProfilingGroups(const Aws::Vector< ProfilingGroupDescription > &value)
ListProfilingGroupsResult & WithRequestId(const char *value)
ListProfilingGroupsResult & WithRequestId(Aws::String &&value)
ListProfilingGroupsResult & WithRequestId(const Aws::String &value)
void SetProfilingGroupNames(const Aws::Vector< Aws::String > &value)
ListProfilingGroupsResult & WithNextToken(const Aws::String &value)
void SetProfilingGroups(const Aws::Vector< ProfilingGroupDescription > &value)
ListProfilingGroupsResult & WithProfilingGroupNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< ProfilingGroupDescription > & GetProfilingGroups() const
ListProfilingGroupsResult & AddProfilingGroupNames(const char *value)
ListProfilingGroupsResult & WithNextToken(Aws::String &&value)
ListProfilingGroupsResult & AddProfilingGroups(ProfilingGroupDescription &&value)
void SetProfilingGroupNames(Aws::Vector< Aws::String > &&value)
ListProfilingGroupsResult & WithProfilingGroupNames(const Aws::Vector< Aws::String > &value)
ListProfilingGroupsResult & AddProfilingGroups(const ProfilingGroupDescription &value)
ListProfilingGroupsResult & WithNextToken(const char *value)
ListProfilingGroupsResult & AddProfilingGroupNames(const Aws::String &value)
void SetProfilingGroups(Aws::Vector< ProfilingGroupDescription > &&value)
AWS_CODEGURUPROFILER_API ListProfilingGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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