AWS SDK for C++  1.9.104
AWS SDK for C++
ListPermissionSetsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace SSOAdmin
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<Aws::String>& GetPermissionSets() const{ return m_permissionSets; }
40 
44  inline void SetPermissionSets(const Aws::Vector<Aws::String>& value) { m_permissionSets = value; }
45 
49  inline void SetPermissionSets(Aws::Vector<Aws::String>&& value) { m_permissionSets = std::move(value); }
50 
54  inline ListPermissionSetsResult& WithPermissionSets(const Aws::Vector<Aws::String>& value) { SetPermissionSets(value); return *this;}
55 
59  inline ListPermissionSetsResult& WithPermissionSets(Aws::Vector<Aws::String>&& value) { SetPermissionSets(std::move(value)); return *this;}
60 
64  inline ListPermissionSetsResult& AddPermissionSets(const Aws::String& value) { m_permissionSets.push_back(value); return *this; }
65 
69  inline ListPermissionSetsResult& AddPermissionSets(Aws::String&& value) { m_permissionSets.push_back(std::move(value)); return *this; }
70 
74  inline ListPermissionSetsResult& AddPermissionSets(const char* value) { m_permissionSets.push_back(value); return *this; }
75 
76 
81  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 
87  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
88 
93  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
94 
99  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
100 
105  inline ListPermissionSetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106 
111  inline ListPermissionSetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 
117  inline ListPermissionSetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
118 
119  private:
120 
121  Aws::Vector<Aws::String> m_permissionSets;
122 
123  Aws::String m_nextToken;
124  };
125 
126 } // namespace Model
127 } // namespace SSOAdmin
128 } // namespace Aws
Aws::SSOAdmin::Model::ListPermissionSetsResult::SetPermissionSets
void SetPermissionSets(const Aws::Vector< Aws::String > &value)
Definition: ListPermissionSetsResult.h:44
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SSOAdmin::Model::ListPermissionSetsResult::WithNextToken
ListPermissionSetsResult & WithNextToken(const Aws::String &value)
Definition: ListPermissionSetsResult.h:105
Aws::SSOAdmin::Model::ListPermissionSetsResult::AddPermissionSets
ListPermissionSetsResult & AddPermissionSets(Aws::String &&value)
Definition: ListPermissionSetsResult.h:69
Aws::SSOAdmin::Model::ListPermissionSetsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListPermissionSetsResult.h:99
Aws::SSOAdmin::Model::ListPermissionSetsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPermissionSetsResult.h:87
Aws::SSOAdmin::Model::ListPermissionSetsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPermissionSetsResult.h:93
Aws::SSOAdmin::Model::ListPermissionSetsResult::WithPermissionSets
ListPermissionSetsResult & WithPermissionSets(Aws::Vector< Aws::String > &&value)
Definition: ListPermissionSetsResult.h:59
Aws::SSOAdmin::Model::ListPermissionSetsResult
Definition: ListPermissionSetsResult.h:29
Aws::SSOAdmin::Model::ListPermissionSetsResult::operator=
ListPermissionSetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::ListPermissionSetsResult::SetPermissionSets
void SetPermissionSets(Aws::Vector< Aws::String > &&value)
Definition: ListPermissionSetsResult.h:49
AWSVector.h
Aws::SSOAdmin::Model::ListPermissionSetsResult::WithNextToken
ListPermissionSetsResult & WithNextToken(const char *value)
Definition: ListPermissionSetsResult.h:117
Aws::SSOAdmin::Model::ListPermissionSetsResult::WithNextToken
ListPermissionSetsResult & WithNextToken(Aws::String &&value)
Definition: ListPermissionSetsResult.h:111
Aws::SSOAdmin::Model::ListPermissionSetsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPermissionSetsResult.h:81
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::ListPermissionSetsResult::WithPermissionSets
ListPermissionSetsResult & WithPermissionSets(const Aws::Vector< Aws::String > &value)
Definition: ListPermissionSetsResult.h:54
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::ListPermissionSetsResult::AddPermissionSets
ListPermissionSetsResult & AddPermissionSets(const char *value)
Definition: ListPermissionSetsResult.h:74
Aws::SSOAdmin::Model::ListPermissionSetsResult::AddPermissionSets
ListPermissionSetsResult & AddPermissionSets(const Aws::String &value)
Definition: ListPermissionSetsResult.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::ListPermissionSetsResult::ListPermissionSetsResult
ListPermissionSetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SSOAdmin::Model::ListPermissionSetsResult::GetPermissionSets
const Aws::Vector< Aws::String > & GetPermissionSets() const
Definition: ListPermissionSetsResult.h:39
Aws::SSOAdmin::Model::ListPermissionSetsResult::ListPermissionSetsResult
ListPermissionSetsResult()