AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListScheduleGroupsResult.h
Go to the documentation of this file.
1
6#pragma once
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 Scheduler
26{
27namespace Model
28{
30 {
31 public:
35
36
41 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
42
47 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
48
53 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
54
59 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
60
65 inline ListScheduleGroupsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66
71 inline ListScheduleGroupsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
72
77 inline ListScheduleGroupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78
79
83 inline const Aws::Vector<ScheduleGroupSummary>& GetScheduleGroups() const{ return m_scheduleGroups; }
84
88 inline void SetScheduleGroups(const Aws::Vector<ScheduleGroupSummary>& value) { m_scheduleGroups = value; }
89
93 inline void SetScheduleGroups(Aws::Vector<ScheduleGroupSummary>&& value) { m_scheduleGroups = std::move(value); }
94
99
104
108 inline ListScheduleGroupsResult& AddScheduleGroups(const ScheduleGroupSummary& value) { m_scheduleGroups.push_back(value); return *this; }
109
113 inline ListScheduleGroupsResult& AddScheduleGroups(ScheduleGroupSummary&& value) { m_scheduleGroups.push_back(std::move(value)); return *this; }
114
115 private:
116
117 Aws::String m_nextToken;
118
119 Aws::Vector<ScheduleGroupSummary> m_scheduleGroups;
120 };
121
122} // namespace Model
123} // namespace Scheduler
124} // namespace Aws
#define AWS_SCHEDULER_API
const Aws::Vector< ScheduleGroupSummary > & GetScheduleGroups() const
void SetScheduleGroups(Aws::Vector< ScheduleGroupSummary > &&value)
ListScheduleGroupsResult & WithNextToken(const char *value)
ListScheduleGroupsResult & WithScheduleGroups(const Aws::Vector< ScheduleGroupSummary > &value)
AWS_SCHEDULER_API ListScheduleGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SCHEDULER_API ListScheduleGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListScheduleGroupsResult & AddScheduleGroups(ScheduleGroupSummary &&value)
void SetScheduleGroups(const Aws::Vector< ScheduleGroupSummary > &value)
ListScheduleGroupsResult & AddScheduleGroups(const ScheduleGroupSummary &value)
ListScheduleGroupsResult & WithNextToken(Aws::String &&value)
ListScheduleGroupsResult & WithScheduleGroups(Aws::Vector< ScheduleGroupSummary > &&value)
ListScheduleGroupsResult & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector