AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCurrentUserDataResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/connect/model/UserData.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 Connect
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CONNECT_API GetCurrentUserDataResult();
35
36
38
42 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
43 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
44 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
45 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
46 inline GetCurrentUserDataResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
47 inline GetCurrentUserDataResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
48 inline GetCurrentUserDataResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
50
52
55 inline const Aws::Vector<UserData>& GetUserDataList() const{ return m_userDataList; }
56 inline void SetUserDataList(const Aws::Vector<UserData>& value) { m_userDataList = value; }
57 inline void SetUserDataList(Aws::Vector<UserData>&& value) { m_userDataList = std::move(value); }
59 inline GetCurrentUserDataResult& WithUserDataList(Aws::Vector<UserData>&& value) { SetUserDataList(std::move(value)); return *this;}
60 inline GetCurrentUserDataResult& AddUserDataList(const UserData& value) { m_userDataList.push_back(value); return *this; }
61 inline GetCurrentUserDataResult& AddUserDataList(UserData&& value) { m_userDataList.push_back(std::move(value)); return *this; }
63
65
68 inline long long GetApproximateTotalCount() const{ return m_approximateTotalCount; }
69 inline void SetApproximateTotalCount(long long value) { m_approximateTotalCount = value; }
70 inline GetCurrentUserDataResult& WithApproximateTotalCount(long long value) { SetApproximateTotalCount(value); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline GetCurrentUserDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline GetCurrentUserDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline GetCurrentUserDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_nextToken;
86
87 Aws::Vector<UserData> m_userDataList;
88
89 long long m_approximateTotalCount;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace Connect
96} // namespace Aws
GetCurrentUserDataResult & WithRequestId(const char *value)
AWS_CONNECT_API GetCurrentUserDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCurrentUserDataResult & AddUserDataList(const UserData &value)
GetCurrentUserDataResult & AddUserDataList(UserData &&value)
GetCurrentUserDataResult & WithRequestId(Aws::String &&value)
const Aws::Vector< UserData > & GetUserDataList() const
GetCurrentUserDataResult & WithNextToken(const Aws::String &value)
void SetUserDataList(const Aws::Vector< UserData > &value)
GetCurrentUserDataResult & WithUserDataList(Aws::Vector< UserData > &&value)
GetCurrentUserDataResult & WithNextToken(Aws::String &&value)
GetCurrentUserDataResult & WithRequestId(const Aws::String &value)
GetCurrentUserDataResult & WithNextToken(const char *value)
GetCurrentUserDataResult & WithUserDataList(const Aws::Vector< UserData > &value)
GetCurrentUserDataResult & WithApproximateTotalCount(long long value)
AWS_CONNECT_API GetCurrentUserDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUserDataList(Aws::Vector< UserData > &&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