AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAccountAuthorizationDetailsResult.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/UserDetail.h>
12#include <aws/iam/model/GroupDetail.h>
13#include <aws/iam/model/RoleDetail.h>
14#include <aws/iam/model/ManagedPolicyDetail.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Xml
25{
26 class XmlDocument;
27} // namespace Xml
28} // namespace Utils
29namespace IAM
30{
31namespace Model
32{
40 {
41 public:
45
46
48
51 inline const Aws::Vector<UserDetail>& GetUserDetailList() const{ return m_userDetailList; }
52 inline void SetUserDetailList(const Aws::Vector<UserDetail>& value) { m_userDetailList = value; }
53 inline void SetUserDetailList(Aws::Vector<UserDetail>&& value) { m_userDetailList = std::move(value); }
56 inline GetAccountAuthorizationDetailsResult& AddUserDetailList(const UserDetail& value) { m_userDetailList.push_back(value); return *this; }
57 inline GetAccountAuthorizationDetailsResult& AddUserDetailList(UserDetail&& value) { m_userDetailList.push_back(std::move(value)); return *this; }
59
61
64 inline const Aws::Vector<GroupDetail>& GetGroupDetailList() const{ return m_groupDetailList; }
65 inline void SetGroupDetailList(const Aws::Vector<GroupDetail>& value) { m_groupDetailList = value; }
66 inline void SetGroupDetailList(Aws::Vector<GroupDetail>&& value) { m_groupDetailList = std::move(value); }
69 inline GetAccountAuthorizationDetailsResult& AddGroupDetailList(const GroupDetail& value) { m_groupDetailList.push_back(value); return *this; }
70 inline GetAccountAuthorizationDetailsResult& AddGroupDetailList(GroupDetail&& value) { m_groupDetailList.push_back(std::move(value)); return *this; }
72
74
77 inline const Aws::Vector<RoleDetail>& GetRoleDetailList() const{ return m_roleDetailList; }
78 inline void SetRoleDetailList(const Aws::Vector<RoleDetail>& value) { m_roleDetailList = value; }
79 inline void SetRoleDetailList(Aws::Vector<RoleDetail>&& value) { m_roleDetailList = std::move(value); }
82 inline GetAccountAuthorizationDetailsResult& AddRoleDetailList(const RoleDetail& value) { m_roleDetailList.push_back(value); return *this; }
83 inline GetAccountAuthorizationDetailsResult& AddRoleDetailList(RoleDetail&& value) { m_roleDetailList.push_back(std::move(value)); return *this; }
85
87
90 inline const Aws::Vector<ManagedPolicyDetail>& GetPolicies() const{ return m_policies; }
91 inline void SetPolicies(const Aws::Vector<ManagedPolicyDetail>& value) { m_policies = value; }
92 inline void SetPolicies(Aws::Vector<ManagedPolicyDetail>&& value) { m_policies = std::move(value); }
95 inline GetAccountAuthorizationDetailsResult& AddPolicies(const ManagedPolicyDetail& value) { m_policies.push_back(value); return *this; }
96 inline GetAccountAuthorizationDetailsResult& AddPolicies(ManagedPolicyDetail&& value) { m_policies.push_back(std::move(value)); return *this; }
98
100
109 inline bool GetIsTruncated() const{ return m_isTruncated; }
110 inline void SetIsTruncated(bool value) { m_isTruncated = value; }
111 inline GetAccountAuthorizationDetailsResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
113
115
120 inline const Aws::String& GetMarker() const{ return m_marker; }
121 inline void SetMarker(const Aws::String& value) { m_marker = value; }
122 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
123 inline void SetMarker(const char* value) { m_marker.assign(value); }
124 inline GetAccountAuthorizationDetailsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
125 inline GetAccountAuthorizationDetailsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
126 inline GetAccountAuthorizationDetailsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
128
130
131 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
132 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
133 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
137 private:
138
139 Aws::Vector<UserDetail> m_userDetailList;
140
141 Aws::Vector<GroupDetail> m_groupDetailList;
142
143 Aws::Vector<RoleDetail> m_roleDetailList;
144
146
147 bool m_isTruncated;
148
149 Aws::String m_marker;
150
151 ResponseMetadata m_responseMetadata;
152 };
153
154} // namespace Model
155} // namespace IAM
156} // namespace Aws
GetAccountAuthorizationDetailsResult & AddRoleDetailList(RoleDetail &&value)
GetAccountAuthorizationDetailsResult & WithGroupDetailList(Aws::Vector< GroupDetail > &&value)
GetAccountAuthorizationDetailsResult & WithResponseMetadata(ResponseMetadata &&value)
GetAccountAuthorizationDetailsResult & WithIsTruncated(bool value)
void SetPolicies(const Aws::Vector< ManagedPolicyDetail > &value)
GetAccountAuthorizationDetailsResult & AddGroupDetailList(GroupDetail &&value)
GetAccountAuthorizationDetailsResult & WithPolicies(const Aws::Vector< ManagedPolicyDetail > &value)
GetAccountAuthorizationDetailsResult & AddUserDetailList(const UserDetail &value)
GetAccountAuthorizationDetailsResult & AddPolicies(const ManagedPolicyDetail &value)
GetAccountAuthorizationDetailsResult & WithResponseMetadata(const ResponseMetadata &value)
GetAccountAuthorizationDetailsResult & WithGroupDetailList(const Aws::Vector< GroupDetail > &value)
const Aws::Vector< ManagedPolicyDetail > & GetPolicies() const
GetAccountAuthorizationDetailsResult & WithRoleDetailList(Aws::Vector< RoleDetail > &&value)
GetAccountAuthorizationDetailsResult & WithUserDetailList(const Aws::Vector< UserDetail > &value)
GetAccountAuthorizationDetailsResult & WithUserDetailList(Aws::Vector< UserDetail > &&value)
GetAccountAuthorizationDetailsResult & AddGroupDetailList(const GroupDetail &value)
GetAccountAuthorizationDetailsResult & AddUserDetailList(UserDetail &&value)
GetAccountAuthorizationDetailsResult & WithRoleDetailList(const Aws::Vector< RoleDetail > &value)
GetAccountAuthorizationDetailsResult & WithMarker(const char *value)
GetAccountAuthorizationDetailsResult & AddPolicies(ManagedPolicyDetail &&value)
GetAccountAuthorizationDetailsResult & WithPolicies(Aws::Vector< ManagedPolicyDetail > &&value)
GetAccountAuthorizationDetailsResult & WithMarker(Aws::String &&value)
AWS_IAM_API GetAccountAuthorizationDetailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetAccountAuthorizationDetailsResult & WithMarker(const Aws::String &value)
AWS_IAM_API GetAccountAuthorizationDetailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetAccountAuthorizationDetailsResult & AddRoleDetailList(const RoleDetail &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