AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
SearchGroupsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/Group.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
26 public:
27 AWS_QUICKSIGHT_API SearchGroupsResult() = default;
30
32
36 inline const Aws::Vector<Group>& GetGroupList() const { return m_groupList; }
37 template <typename GroupListT = Aws::Vector<Group>>
38 void SetGroupList(GroupListT&& value) {
39 m_groupListHasBeenSet = true;
40 m_groupList = std::forward<GroupListT>(value);
41 }
42 template <typename GroupListT = Aws::Vector<Group>>
43 SearchGroupsResult& WithGroupList(GroupListT&& value) {
44 SetGroupList(std::forward<GroupListT>(value));
45 return *this;
46 }
47 template <typename GroupListT = Group>
48 SearchGroupsResult& AddGroupList(GroupListT&& value) {
49 m_groupListHasBeenSet = true;
50 m_groupList.emplace_back(std::forward<GroupListT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 template <typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) {
62 m_nextTokenHasBeenSet = true;
63 m_nextToken = std::forward<NextTokenT>(value);
64 }
65 template <typename NextTokenT = Aws::String>
66 SearchGroupsResult& WithNextToken(NextTokenT&& value) {
67 SetNextToken(std::forward<NextTokenT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
81 SearchGroupsResult& WithRequestId(RequestIdT&& value) {
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86
88
91 inline int GetStatus() const { return m_status; }
92 inline void SetStatus(int value) {
93 m_statusHasBeenSet = true;
94 m_status = value;
95 }
96 inline SearchGroupsResult& WithStatus(int value) {
97 SetStatus(value);
98 return *this;
99 }
101 private:
102 Aws::Vector<Group> m_groupList;
103
104 Aws::String m_nextToken;
105
106 Aws::String m_requestId;
107
108 int m_status{0};
109 bool m_groupListHasBeenSet = false;
110 bool m_nextTokenHasBeenSet = false;
111 bool m_requestIdHasBeenSet = false;
112 bool m_statusHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace QuickSight
117} // namespace Aws
SearchGroupsResult & WithStatus(int value)
SearchGroupsResult & WithNextToken(NextTokenT &&value)
AWS_QUICKSIGHT_API SearchGroupsResult()=default
SearchGroupsResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API SearchGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API SearchGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Group > & GetGroupList() const
SearchGroupsResult & AddGroupList(GroupListT &&value)
SearchGroupsResult & WithGroupList(GroupListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue