AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRolePoliciesResult.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 ListRolePoliciesResult& WithPolicyNames(Aws::Vector<Aws::String>&& value) { SetPolicyNames(std::move(value)); return *this;}
52 inline ListRolePoliciesResult& AddPolicyNames(const Aws::String& value) { m_policyNames.push_back(value); return *this; }
53 inline ListRolePoliciesResult& AddPolicyNames(Aws::String&& value) { m_policyNames.push_back(std::move(value)); return *this; }
54 inline ListRolePoliciesResult& 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 ListRolePoliciesResult& 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 ListRolePoliciesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
83 inline ListRolePoliciesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
84 inline ListRolePoliciesResult& 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 ListRolePoliciesResult& 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
ListRolePoliciesResult & AddPolicyNames(const char *value)
ListRolePoliciesResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_IAM_API ListRolePoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListRolePoliciesResult & AddPolicyNames(const Aws::String &value)
ListRolePoliciesResult & WithIsTruncated(bool value)
ListRolePoliciesResult & WithPolicyNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetPolicyNames() const
ListRolePoliciesResult & WithMarker(const Aws::String &value)
const ResponseMetadata & GetResponseMetadata() const
ListRolePoliciesResult & WithResponseMetadata(ResponseMetadata &&value)
void SetPolicyNames(const Aws::Vector< Aws::String > &value)
void SetResponseMetadata(ResponseMetadata &&value)
ListRolePoliciesResult & WithPolicyNames(Aws::Vector< Aws::String > &&value)
ListRolePoliciesResult & AddPolicyNames(Aws::String &&value)
AWS_IAM_API ListRolePoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListRolePoliciesResult & WithMarker(const char *value)
ListRolePoliciesResult & WithMarker(Aws::String &&value)
void SetPolicyNames(Aws::Vector< Aws::String > &&value)
void SetResponseMetadata(const ResponseMetadata &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