AWS SDK for C++  1.9.104
AWS SDK for C++
ListPermissionSetsProvisionedToAccountResult.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 
40  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
41 
46  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
47 
52  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
53 
58  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
59 
64  inline ListPermissionSetsProvisionedToAccountResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
65 
70  inline ListPermissionSetsProvisionedToAccountResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 
76  inline ListPermissionSetsProvisionedToAccountResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
77 
78 
82  inline const Aws::Vector<Aws::String>& GetPermissionSets() const{ return m_permissionSets; }
83 
87  inline void SetPermissionSets(const Aws::Vector<Aws::String>& value) { m_permissionSets = value; }
88 
92  inline void SetPermissionSets(Aws::Vector<Aws::String>&& value) { m_permissionSets = std::move(value); }
93 
97  inline ListPermissionSetsProvisionedToAccountResult& WithPermissionSets(const Aws::Vector<Aws::String>& value) { SetPermissionSets(value); return *this;}
98 
102  inline ListPermissionSetsProvisionedToAccountResult& WithPermissionSets(Aws::Vector<Aws::String>&& value) { SetPermissionSets(std::move(value)); return *this;}
103 
107  inline ListPermissionSetsProvisionedToAccountResult& AddPermissionSets(const Aws::String& value) { m_permissionSets.push_back(value); return *this; }
108 
112  inline ListPermissionSetsProvisionedToAccountResult& AddPermissionSets(Aws::String&& value) { m_permissionSets.push_back(std::move(value)); return *this; }
113 
117  inline ListPermissionSetsProvisionedToAccountResult& AddPermissionSets(const char* value) { m_permissionSets.push_back(value); return *this; }
118 
119  private:
120 
121  Aws::String m_nextToken;
122 
123  Aws::Vector<Aws::String> m_permissionSets;
124  };
125 
126 } // namespace Model
127 } // namespace SSOAdmin
128 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPermissionSetsProvisionedToAccountResult.h:40
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::WithNextToken
ListPermissionSetsProvisionedToAccountResult & WithNextToken(const char *value)
Definition: ListPermissionSetsProvisionedToAccountResult.h:76
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::GetPermissionSets
const Aws::Vector< Aws::String > & GetPermissionSets() const
Definition: ListPermissionSetsProvisionedToAccountResult.h:82
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::AddPermissionSets
ListPermissionSetsProvisionedToAccountResult & AddPermissionSets(const char *value)
Definition: ListPermissionSetsProvisionedToAccountResult.h:117
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::WithNextToken
ListPermissionSetsProvisionedToAccountResult & WithNextToken(Aws::String &&value)
Definition: ListPermissionSetsProvisionedToAccountResult.h:70
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::SetPermissionSets
void SetPermissionSets(Aws::Vector< Aws::String > &&value)
Definition: ListPermissionSetsProvisionedToAccountResult.h:92
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::ListPermissionSetsProvisionedToAccountResult
ListPermissionSetsProvisionedToAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListPermissionSetsProvisionedToAccountResult.h:58
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPermissionSetsProvisionedToAccountResult.h:46
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::WithNextToken
ListPermissionSetsProvisionedToAccountResult & WithNextToken(const Aws::String &value)
Definition: ListPermissionSetsProvisionedToAccountResult.h:64
AWSVector.h
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::operator=
ListPermissionSetsProvisionedToAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::WithPermissionSets
ListPermissionSetsProvisionedToAccountResult & WithPermissionSets(const Aws::Vector< Aws::String > &value)
Definition: ListPermissionSetsProvisionedToAccountResult.h:97
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPermissionSetsProvisionedToAccountResult.h:52
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::WithPermissionSets
ListPermissionSetsProvisionedToAccountResult & WithPermissionSets(Aws::Vector< Aws::String > &&value)
Definition: ListPermissionSetsProvisionedToAccountResult.h:102
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::ListPermissionSetsProvisionedToAccountResult
ListPermissionSetsProvisionedToAccountResult()
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult
Definition: ListPermissionSetsProvisionedToAccountResult.h:29
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::AddPermissionSets
ListPermissionSetsProvisionedToAccountResult & AddPermissionSets(Aws::String &&value)
Definition: ListPermissionSetsProvisionedToAccountResult.h:112
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::AddPermissionSets
ListPermissionSetsProvisionedToAccountResult & AddPermissionSets(const Aws::String &value)
Definition: ListPermissionSetsProvisionedToAccountResult.h:107
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountResult::SetPermissionSets
void SetPermissionSets(const Aws::Vector< Aws::String > &value)
Definition: ListPermissionSetsProvisionedToAccountResult.h:87