AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListGroupPoliciesResult.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
50 inline const Aws::Vector<Aws::String>& GetPolicyNames() const{ return m_policyNames; }
51 inline void SetPolicyNames(const Aws::Vector<Aws::String>& value) { m_policyNames = value; }
52 inline void SetPolicyNames(Aws::Vector<Aws::String>&& value) { m_policyNames = std::move(value); }
54 inline ListGroupPoliciesResult& WithPolicyNames(Aws::Vector<Aws::String>&& value) { SetPolicyNames(std::move(value)); return *this;}
55 inline ListGroupPoliciesResult& AddPolicyNames(const Aws::String& value) { m_policyNames.push_back(value); return *this; }
56 inline ListGroupPoliciesResult& AddPolicyNames(Aws::String&& value) { m_policyNames.push_back(std::move(value)); return *this; }
57 inline ListGroupPoliciesResult& AddPolicyNames(const char* value) { m_policyNames.push_back(value); return *this; }
59
61
70 inline bool GetIsTruncated() const{ return m_isTruncated; }
71 inline void SetIsTruncated(bool value) { m_isTruncated = value; }
72 inline ListGroupPoliciesResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
74
76
81 inline const Aws::String& GetMarker() const{ return m_marker; }
82 inline void SetMarker(const Aws::String& value) { m_marker = value; }
83 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
84 inline void SetMarker(const char* value) { m_marker.assign(value); }
85 inline ListGroupPoliciesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
86 inline ListGroupPoliciesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
87 inline ListGroupPoliciesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
89
91
92 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
93 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
94 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
96 inline ListGroupPoliciesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
98 private:
99
100 Aws::Vector<Aws::String> m_policyNames;
101
102 bool m_isTruncated;
103
104 Aws::String m_marker;
105
106 ResponseMetadata m_responseMetadata;
107 };
108
109} // namespace Model
110} // namespace IAM
111} // namespace Aws
ListGroupPoliciesResult & WithMarker(const Aws::String &value)
ListGroupPoliciesResult & AddPolicyNames(const char *value)
AWS_IAM_API ListGroupPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListGroupPoliciesResult & WithMarker(Aws::String &&value)
ListGroupPoliciesResult & WithMarker(const char *value)
void SetPolicyNames(Aws::Vector< Aws::String > &&value)
ListGroupPoliciesResult & WithIsTruncated(bool value)
void SetResponseMetadata(ResponseMetadata &&value)
void SetPolicyNames(const Aws::Vector< Aws::String > &value)
const ResponseMetadata & GetResponseMetadata() const
ListGroupPoliciesResult & WithResponseMetadata(const ResponseMetadata &value)
ListGroupPoliciesResult & AddPolicyNames(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
AWS_IAM_API ListGroupPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListGroupPoliciesResult & WithPolicyNames(const Aws::Vector< Aws::String > &value)
ListGroupPoliciesResult & WithResponseMetadata(ResponseMetadata &&value)
ListGroupPoliciesResult & WithPolicyNames(Aws::Vector< Aws::String > &&value)
ListGroupPoliciesResult & AddPolicyNames(Aws::String &&value)
const Aws::Vector< Aws::String > & GetPolicyNames() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument