AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetGroupResult.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/model/Group.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/iam/model/ResponseMetadata.h>
12#include <aws/iam/model/User.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace IAM
28{
29namespace Model
30{
38 {
39 public:
40 AWS_IAM_API GetGroupResult();
43
44
46
49 inline const Group& GetGroup() const{ return m_group; }
50 inline void SetGroup(const Group& value) { m_group = value; }
51 inline void SetGroup(Group&& value) { m_group = std::move(value); }
52 inline GetGroupResult& WithGroup(const Group& value) { SetGroup(value); return *this;}
53 inline GetGroupResult& WithGroup(Group&& value) { SetGroup(std::move(value)); return *this;}
55
57
60 inline const Aws::Vector<User>& GetUsers() const{ return m_users; }
61 inline void SetUsers(const Aws::Vector<User>& value) { m_users = value; }
62 inline void SetUsers(Aws::Vector<User>&& value) { m_users = std::move(value); }
63 inline GetGroupResult& WithUsers(const Aws::Vector<User>& value) { SetUsers(value); return *this;}
64 inline GetGroupResult& WithUsers(Aws::Vector<User>&& value) { SetUsers(std::move(value)); return *this;}
65 inline GetGroupResult& AddUsers(const User& value) { m_users.push_back(value); return *this; }
66 inline GetGroupResult& AddUsers(User&& value) { m_users.push_back(std::move(value)); return *this; }
68
70
79 inline bool GetIsTruncated() const{ return m_isTruncated; }
80 inline void SetIsTruncated(bool value) { m_isTruncated = value; }
81 inline GetGroupResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
83
85
90 inline const Aws::String& GetMarker() const{ return m_marker; }
91 inline void SetMarker(const Aws::String& value) { m_marker = value; }
92 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
93 inline void SetMarker(const char* value) { m_marker.assign(value); }
94 inline GetGroupResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
95 inline GetGroupResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
96 inline GetGroupResult& WithMarker(const char* value) { SetMarker(value); return *this;}
98
100
101 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
102 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
103 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
104 inline GetGroupResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
105 inline GetGroupResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
107 private:
108
109 Group m_group;
110
111 Aws::Vector<User> m_users;
112
113 bool m_isTruncated;
114
115 Aws::String m_marker;
116
117 ResponseMetadata m_responseMetadata;
118 };
119
120} // namespace Model
121} // namespace IAM
122} // namespace Aws
void SetMarker(Aws::String &&value)
void SetResponseMetadata(const ResponseMetadata &value)
GetGroupResult & AddUsers(const User &value)
GetGroupResult & WithGroup(const Group &value)
GetGroupResult & WithMarker(const char *value)
const Aws::Vector< User > & GetUsers() const
GetGroupResult & WithUsers(Aws::Vector< User > &&value)
GetGroupResult & WithIsTruncated(bool value)
AWS_IAM_API GetGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
void SetUsers(Aws::Vector< User > &&value)
GetGroupResult & WithResponseMetadata(const ResponseMetadata &value)
const Group & GetGroup() const
GetGroupResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::String & GetMarker() const
void SetGroup(const Group &value)
void SetResponseMetadata(ResponseMetadata &&value)
void SetMarker(const Aws::String &value)
GetGroupResult & AddUsers(User &&value)
AWS_IAM_API GetGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetGroupResult & WithMarker(Aws::String &&value)
void SetUsers(const Aws::Vector< User > &value)
GetGroupResult & WithUsers(const Aws::Vector< User > &value)
void SetMarker(const char *value)
GetGroupResult & WithMarker(const Aws::String &value)
GetGroupResult & WithGroup(Group &&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