AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListUsersResult.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/model/ResponseMetadata.h>
11#include <aws/iam/model/User.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace IAM
27{
28namespace Model
29{
37 {
38 public:
39 AWS_IAM_API ListUsersResult();
42
43
45
48 inline const Aws::Vector<User>& GetUsers() const{ return m_users; }
49 inline void SetUsers(const Aws::Vector<User>& value) { m_users = value; }
50 inline void SetUsers(Aws::Vector<User>&& value) { m_users = std::move(value); }
51 inline ListUsersResult& WithUsers(const Aws::Vector<User>& value) { SetUsers(value); return *this;}
52 inline ListUsersResult& WithUsers(Aws::Vector<User>&& value) { SetUsers(std::move(value)); return *this;}
53 inline ListUsersResult& AddUsers(const User& value) { m_users.push_back(value); return *this; }
54 inline ListUsersResult& AddUsers(User&& value) { m_users.push_back(std::move(value)); return *this; }
56
58
67 inline bool GetIsTruncated() const{ return m_isTruncated; }
68 inline void SetIsTruncated(bool value) { m_isTruncated = value; }
69 inline ListUsersResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
71
73
78 inline const Aws::String& GetMarker() const{ return m_marker; }
79 inline void SetMarker(const Aws::String& value) { m_marker = value; }
80 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
81 inline void SetMarker(const char* value) { m_marker.assign(value); }
82 inline ListUsersResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
83 inline ListUsersResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
84 inline ListUsersResult& WithMarker(const char* value) { SetMarker(value); return *this;}
86
88
89 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
90 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
91 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
92 inline ListUsersResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
93 inline ListUsersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
95 private:
96
97 Aws::Vector<User> m_users;
98
99 bool m_isTruncated;
100
101 Aws::String m_marker;
102
103 ResponseMetadata m_responseMetadata;
104 };
105
106} // namespace Model
107} // namespace IAM
108} // namespace Aws
ListUsersResult & WithMarker(const Aws::String &value)
void SetUsers(const Aws::Vector< User > &value)
ListUsersResult & WithIsTruncated(bool value)
const Aws::Vector< User > & GetUsers() const
ListUsersResult & WithResponseMetadata(const ResponseMetadata &value)
void SetMarker(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetUsers(Aws::Vector< User > &&value)
ListUsersResult & AddUsers(User &&value)
const ResponseMetadata & GetResponseMetadata() const
ListUsersResult & WithUsers(Aws::Vector< User > &&value)
AWS_IAM_API ListUsersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListUsersResult & AddUsers(const User &value)
ListUsersResult & WithMarker(Aws::String &&value)
void SetMarker(const char *value)
AWS_IAM_API ListUsersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListUsersResult & WithMarker(const char *value)
void SetMarker(Aws::String &&value)
const Aws::String & GetMarker() const
ListUsersResult & WithResponseMetadata(ResponseMetadata &&value)
void SetResponseMetadata(ResponseMetadata &&value)
ListUsersResult & WithUsers(const Aws::Vector< User > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument