AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListUserPoliciesResult.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 <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace IAM
26{
27namespace Model
28{
36 {
37 public:
41
42
44
47 inline const Aws::Vector<Aws::String>& GetPolicyNames() const{ return m_policyNames; }
48 inline void SetPolicyNames(const Aws::Vector<Aws::String>& value) { m_policyNames = value; }
49 inline void SetPolicyNames(Aws::Vector<Aws::String>&& value) { m_policyNames = std::move(value); }
51 inline ListUserPoliciesResult& WithPolicyNames(Aws::Vector<Aws::String>&& value) { SetPolicyNames(std::move(value)); return *this;}
52 inline ListUserPoliciesResult& AddPolicyNames(const Aws::String& value) { m_policyNames.push_back(value); return *this; }
53 inline ListUserPoliciesResult& AddPolicyNames(Aws::String&& value) { m_policyNames.push_back(std::move(value)); return *this; }
54 inline ListUserPoliciesResult& AddPolicyNames(const char* value) { m_policyNames.push_back(value); return *this; }
56
58
67 inline bool GetIsTruncated() const{ return m_isTruncated; }
68 inline void SetIsTruncated(bool value) { m_isTruncated = value; }
69 inline ListUserPoliciesResult& 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 ListUserPoliciesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
83 inline ListUserPoliciesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
84 inline ListUserPoliciesResult& 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); }
93 inline ListUserPoliciesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
95 private:
96
97 Aws::Vector<Aws::String> m_policyNames;
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
AWS_IAM_API ListUserPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListUserPoliciesResult & WithPolicyNames(Aws::Vector< Aws::String > &&value)
ListUserPoliciesResult & WithPolicyNames(const Aws::Vector< Aws::String > &value)
void SetResponseMetadata(const ResponseMetadata &value)
AWS_IAM_API ListUserPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListUserPoliciesResult & AddPolicyNames(Aws::String &&value)
void SetResponseMetadata(ResponseMetadata &&value)
ListUserPoliciesResult & WithResponseMetadata(const ResponseMetadata &value)
void SetPolicyNames(Aws::Vector< Aws::String > &&value)
ListUserPoliciesResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< Aws::String > & GetPolicyNames() const
ListUserPoliciesResult & AddPolicyNames(const Aws::String &value)
ListUserPoliciesResult & WithMarker(const char *value)
ListUserPoliciesResult & WithMarker(Aws::String &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetPolicyNames(const Aws::Vector< Aws::String > &value)
ListUserPoliciesResult & AddPolicyNames(const char *value)
ListUserPoliciesResult & WithIsTruncated(bool value)
ListUserPoliciesResult & WithMarker(const Aws::String &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