AWS SDK for C++  1.9.104
AWS SDK for C++
ListManagedPoliciesInPermissionSetResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace SSOAdmin
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<AttachedManagedPolicy>& GetAttachedManagedPolicies() const{ return m_attachedManagedPolicies; }
41 
45  inline void SetAttachedManagedPolicies(const Aws::Vector<AttachedManagedPolicy>& value) { m_attachedManagedPolicies = value; }
46 
50  inline void SetAttachedManagedPolicies(Aws::Vector<AttachedManagedPolicy>&& value) { m_attachedManagedPolicies = std::move(value); }
51 
55  inline ListManagedPoliciesInPermissionSetResult& WithAttachedManagedPolicies(const Aws::Vector<AttachedManagedPolicy>& value) { SetAttachedManagedPolicies(value); return *this;}
56 
60  inline ListManagedPoliciesInPermissionSetResult& WithAttachedManagedPolicies(Aws::Vector<AttachedManagedPolicy>&& value) { SetAttachedManagedPolicies(std::move(value)); return *this;}
61 
65  inline ListManagedPoliciesInPermissionSetResult& AddAttachedManagedPolicies(const AttachedManagedPolicy& value) { m_attachedManagedPolicies.push_back(value); return *this; }
66 
70  inline ListManagedPoliciesInPermissionSetResult& AddAttachedManagedPolicies(AttachedManagedPolicy&& value) { m_attachedManagedPolicies.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListManagedPoliciesInPermissionSetResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListManagedPoliciesInPermissionSetResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListManagedPoliciesInPermissionSetResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<AttachedManagedPolicy> m_attachedManagedPolicies;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace SSOAdmin
124 } // namespace Aws
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::ListManagedPoliciesInPermissionSetResult
ListManagedPoliciesInPermissionSetResult()
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::SetAttachedManagedPolicies
void SetAttachedManagedPolicies(const Aws::Vector< AttachedManagedPolicy > &value)
Definition: ListManagedPoliciesInPermissionSetResult.h:45
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::SetAttachedManagedPolicies
void SetAttachedManagedPolicies(Aws::Vector< AttachedManagedPolicy > &&value)
Definition: ListManagedPoliciesInPermissionSetResult.h:50
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListManagedPoliciesInPermissionSetResult.h:83
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult
Definition: ListManagedPoliciesInPermissionSetResult.h:30
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListManagedPoliciesInPermissionSetResult.h:95
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::WithNextToken
ListManagedPoliciesInPermissionSetResult & WithNextToken(const Aws::String &value)
Definition: ListManagedPoliciesInPermissionSetResult.h:101
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
AWSVector.h
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::AddAttachedManagedPolicies
ListManagedPoliciesInPermissionSetResult & AddAttachedManagedPolicies(const AttachedManagedPolicy &value)
Definition: ListManagedPoliciesInPermissionSetResult.h:65
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::WithNextToken
ListManagedPoliciesInPermissionSetResult & WithNextToken(Aws::String &&value)
Definition: ListManagedPoliciesInPermissionSetResult.h:107
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::GetAttachedManagedPolicies
const Aws::Vector< AttachedManagedPolicy > & GetAttachedManagedPolicies() const
Definition: ListManagedPoliciesInPermissionSetResult.h:40
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListManagedPoliciesInPermissionSetResult.h:77
Aws::SSOAdmin::Model::AttachedManagedPolicy
Definition: AttachedManagedPolicy.h:33
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::WithAttachedManagedPolicies
ListManagedPoliciesInPermissionSetResult & WithAttachedManagedPolicies(Aws::Vector< AttachedManagedPolicy > &&value)
Definition: ListManagedPoliciesInPermissionSetResult.h:60
AttachedManagedPolicy.h
AWSString.h
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::AddAttachedManagedPolicies
ListManagedPoliciesInPermissionSetResult & AddAttachedManagedPolicies(AttachedManagedPolicy &&value)
Definition: ListManagedPoliciesInPermissionSetResult.h:70
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListManagedPoliciesInPermissionSetResult.h:89
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::ListManagedPoliciesInPermissionSetResult
ListManagedPoliciesInPermissionSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::WithAttachedManagedPolicies
ListManagedPoliciesInPermissionSetResult & WithAttachedManagedPolicies(const Aws::Vector< AttachedManagedPolicy > &value)
Definition: ListManagedPoliciesInPermissionSetResult.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::WithNextToken
ListManagedPoliciesInPermissionSetResult & WithNextToken(const char *value)
Definition: ListManagedPoliciesInPermissionSetResult.h:113
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetResult::operator=
ListManagedPoliciesInPermissionSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)